<?
include('../seguridad.php');
include('../bd.php');
Conectar();
$sql = "UPDATE products SET measurement='".$_POST[measurement]."', comparison_chart='".$_POST[comparison_chart]."', specification='".$_POST[specification]."', control_panel='".$_POST[control_panel]."', size_shape='".$_POST[size_shape]."' WHERE id='".$_POST[id]."'";
mysql_query($sql) or die(mysql_error());

Desconectar();
header('Location: ../products.php');
?>